# Assume you run this under the project root directory (where target folder is)
# eg: deployments/jboss-4.2.3.GA_default/setup.sh
FROMDIR=`dirname $0`
TODIR=/jb/server/ejb-tx
MYAPP_JAR=$TODIR/deploy/myapp/ejb-tx.jar
mkdir -p $MYAPP_JAR
cp -rf $FROMDIR/* $TODIR
cp -rf ./target/classes/* $MYAPP_JAR
